<template>
	<view>
		<view class="u-page">
			<!-- 所有内容的容器 -->
		</view>
		<!-- 与包裹页面所有内容的元素u-page同级，且在它的下方 -->
			<u-tabbar v-model="current" :list="list" :mid-button="true" active-color='#E86A41'></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [
					{
						iconPath: "/static/imgs/index.png",
						selectedIconPath: "/static/imgs/index2.png",
						text: '首页',
						isDot: false,
						customIcon: false,
						pagePath: '/pages/index/index',
					},
					{
						iconPath: "/static/imgs/seckill.png",
						selectedIconPath: "/static/imgs/seckill2.png",
						text: '秒杀',
						customIcon: false,
						pagePath: '/pages/seckill/seckill',
					},
					{
						iconPath: "/static/imgs/draw.png",
						selectedIconPath: "/static/imgs/draw.png",
						text: '抽奖',
						midButton: true,
						customIcon: false,
						pagePath: '/pages/luckDraw/luckDraw',
					},
					{
						iconPath: "/static/imgs/earn.png",
						selectedIconPath: "/static/imgs/earn2.png",
						text: '赚赚',
						customIcon: false,
						pagePath: '/pages/earn/earn',
					},
					{
						iconPath: "/static/imgs/mine.png",
						selectedIconPath: "/static/imgs/mine2.png",
						text: '我的',
						count: false,
						isDot: false,
						customIcon: false,
						pagePath: '/pages/mine/mine',
					}
				],
				current: 0
			}
		},
	}
</script>

<style>
</style>
